package com.x9space.framework.elastic.annotation;

import com.x9space.framework.elastic.enums.BoolQueryType;

import java.lang.annotation.*;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@QueryBuilderMark
public @interface TermsMatch {

    /**
     * 四种， must ,should , must_not, should
     * @return
     */
    BoolQueryType queryType() default BoolQueryType.FILTER;

    String field() default "";
}
